package com.zxbg.domain;

import java.util.UUID;

public class Login {
    private Employee employee;
    private UUID token;

    public Login(Employee employee, UUID token) {
        this.employee = employee;
        this.token = token;
    }

    public Employee getEmployee() {
        return employee;
    }

    public void setEmployee(Employee employee) {
        this.employee = employee;
    }

    public UUID getToken() {
        return token;
    }

    public void setToken(UUID token) {
        this.token = token;
    }

    @Override
    public String toString() {
        return "Login{" +
                "employee=" + employee +
                ", token='" + token + '\'' +
                '}';
    }
}
